import styles from "../css/PersonalInfoItem.module.scss"

interface IProps {
    info: IInfo
}
interface IInfo {
    itemName: string,
    itemValue: string
}

function PersonalInfoItem(props: IProps) {
    return (
        <div className={styles.infoContainer}>
            <div className={styles.left}>
                <div>{props.info.itemName}：</div>
                <div>{props.info.itemValue}</div>
            </div>
        </div>
    );
}

export default PersonalInfoItem;